const express = require("express");
const router = express.Router();
const listrouter = require("../rooterhandler/list")
const expressJoi = require("@escook/express-joi");

var multipart = require('connect-multiparty');
var multipartMiddleware = multipart();
const {findListBypageSchema} = require("../schema/list")

router.post("/findListBypage",multipartMiddleware,expressJoi(findListBypageSchema),listrouter.getList)
module.exports = router;